//
//  Ext+UIBarButtonItem.swift
//  Swift微博
//
//  Created by 董筱泽 on 16/10/22.
//  Copyright © 2016年 董筱泽. All rights reserved.
//

import UIKit

extension UIBarButtonItem{
    convenience init(setHighlightedImgName: String? = nil, title: String? = nil, target: Any?, action: Selector) {
        self.init()
        let buttom = UIButton(setHighlightedImgName: setHighlightedImgName, title: title, target: target, action: action)
        
        self.customView = buttom
    }
    
}

    
